<?php
$config = require_once THINK_PATH.'../common/config.php';

$part_config = array(
		/*框架配置*/
		'LAYOUT_ON' => true,
		'LAYOUT_NAME' => 'layout',

		/*套餐配置*/
		'APP_NAME' => 'π付系统',

		/*数据库配置*/
		'DB_TYPE' => 'mysql',
        'DB_HOST' => 'rm-bp17t4joi267jv052.mysql.rds.aliyuncs.com',
        'DB_NAME' => 'paifu_system',
        'DB_USER' => 'web_paifu',
        'DB_PWD'  => 'qian960hai^_pf',
		'DB_PORT' => '3306',
		'DB_CHARSET' => 'utf8',
		'DB_PREFIX' => 'pf_',


	/*业务级别配置参数*/
		'menus' =>array(
			array(
				array(
					'tip' => '消费管理',
					'link' => 'javascript:void(0)',
				),
				array(
					'tip' => '消费列表',
					'link' => '/consume/index'
					),
				array(
					'tip' => '用户列表',
					'link' => '/user/userList',
				),
				array(
						'tip' => '套餐管理',
						'link' => '/project/index',
					),
					array(
						'tip' => '套餐项目管理',
						'link' => '/project/goods',
					),
					array(
						'tip' => 'jolly商品管理',
						'link' => '/project/jolly',
					),
					array(
						'tip' => 'jolly订单管理',
						'link' => '/project/jollyOrder',
					),
				),
				array(
					array(
						'tip' => '系统管理',
						'link' => 'javascript:void(0)',
					),
					array(
						'tip' => '管理员管理',
						'link' => '/user/admin',
					),
					array(
						'tip' => '角色管理',
						'link' => '/role/index',
					),
				),
			),
		/*商品所属站点*/
		'FiterControl' => array(
				'dg\Controller\UserController',
				'dg\Controller\ApibaseController'
			),
		'icons' => array(
				'icon-briefcase','icon-list-alt','icon-user','icon-comment','icon-tasks','icon-credit-card','icon-folder-open','icon-hdd','icon-cloud','icon-cog'	
			),
		'open_cache' => false
);

$config = array_merge($config,$part_config);
return $config;
